use std::collections::HashMap;

use actix::{Actor, Context, Recipient};

use super::handle::SessionMessage;

pub struct WebrtcServer {
    pub sessions: HashMap<usize, Recipient<SessionMessage>>,
    pub map: HashMap<usize, usize>,
}

impl WebrtcServer {
    pub fn new() -> Self {
        Self {
            sessions: HashMap::new(),
            map: HashMap::new(),
        }
    }
}

impl Actor for WebrtcServer {
    type Context = Context<Self>;
    fn started(&mut self, ctx: &mut Self::Context) {}
}
